<?php
namespace Menory\Http;

class Request {
    private $requestUrl;
    private $requestMethod = "GET";
    private $params = [];
    private $dataType = "json";

    /**
     * @return mixed
     */
    public function getRequestUrl() {
        return $this->requestUrl;
    }
    
    /**
     * @param mixed $requestUrl
     */
    public function setRequestUrl($requestUrl) {
        $this->requestUrl = $requestUrl;
    }
    
    /**
     * @return string
     */
    public function getRequestMethod() {
        return $this->requestMethod;
    }
    
    /**
     * @param string $requestMethod
     */
    public function setRequestMethod($requestMethod) {
        $this->requestMethod = $requestMethod;
    }
    
    /**
     * @return array
     */
    public function getParams() {
        return $this->params;
    }
    
    /**
     * @param array $params
     */
    public function setParams($params) {
        $this->params = $params;
    }

    /**
     * @return string
     */
    public function getDataType() {
        return $this->dataType;
    }

    /**
     * @param string $dataType
     */
    public function setDataType($dataType) {
        $this->dataType = $dataType;
    }

}